ATI Industrial Automation   ATICombinedDAQFT .NET Class Library  

Visit our website.

StartSingleSampleAcquisition( String deviceName, Double sampleFrequency, Integer averaging, Integer firstChannel, Boolean useTempComp ) as Integer

Starts the single sample acquisition.

Arguments

deviceName

In: The name of the device which the transducer is connected to.

sampleFrequency

In: The frequency at which to sample the transducer voltages. Divide this number by the averaging filter size to get the effective (actual) sample rate.

averaging

In: The size of the averaging filter to use. Divide the hardware averaging rate by the averaging filter level to get the effective sample rate.

firstChannel

In:The lowest-numbered channel to which the transducer is attached. The class library assumes that the strain gauges are connected to sequential channels on the DAQ card, which gauge 0 attached to the lowest-numbered channel, gauge 1 attached to the next-lowest channel, and so on. If software temperature compensation is used, the thermistor should be attached to the next-lowest channel after gauge 5. If you bought your system, including the cables, from ATI, the connectors are probably in the right sequence already.

useTempComp

In: True if you want to enable software temperature compensation. If software temperature compensation is not available on the loaded calibration, setting this argument to True will not affect the force/torque values that you read, although the thermistor will be included in the gauge voltage scan, slowing down your maximum sample rate.

Returns

0 if successful, -1 otherwise.

See Also

ReadSingleFTRecord | ReadSingleGaugePoint